using System.Collections;
using System.Collections.Generic;
using Iesi.Collections.Generic;

namespace Headspring.Training.Domain.Model
{
	public class JobRole
	{
		private int _id;
		private string _title;
		private Employee _supervisor;

		public JobRole()
		{
		}

		public JobRole(string title, Employee supervisor)
		{
			_title = title;
			_supervisor = supervisor;
		}

		public virtual int Id
		{
			get { return _id; }
			set { _id = value; }
		}

		public virtual string Title
		{
			get { return _title; }
			set { _title = value; }
		}

		public virtual Employee Supervisor
		{
			get { return _supervisor; }
			set { _supervisor = value; }
		}

		public override string ToString()
		{
			return Title + " " + Supervisor;
		}
	}
}